package com.cn.sys.main.service;

import com.cn.sys.frame.service.BaseService;
import com.cn.sys.main.entity.SysUser;

public interface SysUserService extends BaseService<SysUser, Long> {

	public SysUser getByUserName(String userName) throws Exception;
	
	public boolean assignRoleSave(String userId, String roleIds) throws Exception;
	
	public void userLogin(SysUser user) throws Exception;
	
	public void userLogout(SysUser user) throws Exception;
	
	public int initUserPwd(String ids) throws Exception;
	
	public void changeUserPwd(SysUser user) throws Exception;
}
